import Main from '@/components/main';

export const contactSetting = [
  {
    path: '/contact',
    name: 'Contact',
    component: Main,
    meta: {
      title: '联系人管理',
      icon: 'md-contacts'
    },
    children: [
      {
        path: '/contact/contact-list',
        name: 'ContactList',
        meta: {
          title: '联系人列表',
          icon: 'md-contacts',
          privilege: [
            { title: '查询', name: 'contact-query' },
            { title: '新增', name: 'contact-add' },
            { title: '编辑', name: 'contact-update' },
            { title: '删除', name: 'contact-delete' }
          ]
        },
        component: () => import('@/views/contact/contact-list.vue')
      }
    ]
  }
];
